define('common/request.data', [
    'require',
    'exports',
    'module'
], function (require, exports, module) {
    var debugData = {
            'index/banners/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                'data': [
                    {
                        'id': 1,
                        'index': 1,
                        'backgroundColor': '#c24343',
                        'imgSrc': 'src/common/img/localimg/banner/b1.jpg',
                        'imgAlt': 'banner1',
                        'clickAreas': [{
                                'id': 1,
                                'height': 75,
                                'width': 225,
                                'x': 40,
                                'y': 235,
                                'fid': 1,
                                'href': 'http://www.baidu.com'
                            }]
                    },
                    {
                        'id': 2,
                        'index': 2,
                        'backgroundColor': '#157da6',
                        'imgSrc': 'src/common/img/localimg/banner/b2.jpg',
                        'imgAlt': 'banner2',
                        'clickAreas': [{
                                'id': 2,
                                'height': 40,
                                'width': 175,
                                'x': 30,
                                'y': 260,
                                'fid': 2,
                                'href': 'https://www.baidu.com'
                            }]
                    },
                    {
                        'id': 3,
                        'index': 3,
                        'backgroundColor': '#5aa3d1',
                        'imgSrc': 'src/common/img/localimg/banner/b3.jpg',
                        'imgAlt': 'banner3',
                        'clickAreas': [{
                                'id': 3,
                                'height': 400,
                                'width': 960,
                                'x': 0,
                                'y': 0,
                                'fid': 3,
                                'href': 'docs.do?product=1#page= Search_Marketing_API_and_Network_Marketing_API_have_immigrated'
                            }]
                    },
                    {
                        'id': 4,
                        'index': 4,
                        'backgroundColor': '#2963ab',
                        'imgSrc': 'src/common/img/localimg/banner/b4.jpg',
                        'imgAlt': 'banner4',
                        'clickAreas': [{
                                'id': 4,
                                'height': 30,
                                'width': 115,
                                'x': 35,
                                'y': 260,
                                'fid': 4,
                                'href': 'docs.do?product=3#page= Baidu_Analytics_API_is_available_now'
                            }]
                    }
                ]
            },
            'index/notices/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                'data': [
                    {
                        'detail': '../zh/txt/notice/1.txt',
                        'href': 'www.baidu.com',
                        'img': '../src/common/img/localimg/notice.jpg',
                        'markDetail': null,
                        'index': 0,
                        'title': 'eeeeeeeeeeeeeee',
                        'time': 1354381200000,
                        'mark': null,
                        'top': true
                    },
                    {
                        'detail': '',
                        'href': 'http://www2.baidu.com',
                        'img': 'img/notice/2.jpg',
                        'markDetail': null,
                        'index': 1,
                        'title': 'nnn\u65b0\u7248API\u706b\u70ed\u53c8\u4e0aAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0aAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248AP',
                        'time': Date.UTC(2005, 7, 8),
                        'mark': null
                    },
                    {
                        'detail': '',
                        'href': 'www2.baidu.com',
                        'img': 'img/notice/2.jpg',
                        'markDetail': null,
                        'index': 1,
                        'title': '\u65b0\u7248API\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248AAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0aPI\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0aAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf',
                        'time': Date.UTC(2005, 7, 8),
                        'mark': null
                    },
                    {
                        'detail': '',
                        'href': 'https://www2.baidu.com',
                        'img': 'img/notice/2.jpg',
                        'markDetail': null,
                        'index': 1,
                        'title': 'nnn\u65b0\u7248API\u706b\u70ed\u53c8\u4e0a\u7ebfAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0aAPI\u706b\u70ed\u53c8\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf\u65b0\u7248API\u706b\u70ed\u4e0a\u7ebf',
                        'time': '1354381200000',
                        'mark': null
                    }
                ]
            },
            'index/howToUses/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                'data': [
                    {
                        'subTitles': [
                            {
                                'href': 'http://www2.baidu.com',
                                'title': 'nn\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98981_2\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98981_3\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_\u5b50\u6807\u98981_1v\u5b50\u6807\u98981_11',
                                'mark': null
                            },
                            {
                                'href': 'http://www2.baidu.com',
                                'title': 'nn\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            }
                        ],
                        'index': 0,
                        'title': '\u5e2e\u52a91'
                    },
                    {
                        'subTitles': [
                            {
                                'href': 'http://www2.baidu.com',
                                'title': 'nnn\u5b50\u6807\u98982_1\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98982_2',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98982_3\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98982_4',
                                'mark': null
                            }
                        ],
                        'index': 1,
                        'title': '\u5e2e\u52a92'
                    },
                    {
                        'subTitles': [
                            {
                                'href': 'http://www2.baidu.com',
                                'title': 'nn\u5b50\u6807\u98983_1\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98983_2\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98983_3\u5b50\u6807\u98981_4\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1\u5b50\u6807\u98981_1',
                                'mark': null
                            },
                            {
                                'href': 'www2.zibiaoti.com',
                                'title': '\u5b50\u6807\u98983_4',
                                'mark': null
                            }
                        ],
                        'index': 2,
                        'title': '\u5e2e\u52a93'
                    }
                ]
            },
            'index/successcases/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                'data': [
                    {
                        'detail': '\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9\u8fd9gong an licheng gong aili lai le  ani ma zai zna li ',
                        'href': 'http://www2.baidu.com',
                        'img': '../img/successcase/1.jpg',
                        'index': 0,
                        'title': 'nn\u6848\u4f8b1'
                    },
                    {
                        'detail': 'this is detail tshi si cheng gong an lichengtshi si cheng gong an licheng',
                        'href': 'www.baidu.com',
                        'img': '../img/successcase/2.jpg',
                        'index': 1,
                        'title': '\u6848\u4f8b2'
                    },
                    {
                        'detail': 'CRMimmMMMis detail tshi si cheng gong an lichengtshi si cheng gong an licheng',
                        'href': 'http://www2.baidu.com',
                        'img': '../img/successcase/3.jpg',
                        'index': 2,
                        'title': 'nn\u6848\u4f8b3'
                    },
                    {
                        'detail': 'CRMimmMMMis detaildddd tshi si cheng gong an lichengtshi si cheng gong an licheng',
                        'href': 'www.baidu.com',
                        'img': '../img/successcase/4.jpg',
                        'index': 3,
                        'title': '\u6848\u4f8b4'
                    },
                    {
                        'detail': 'CRMimmMMMis dddddetail tshi si cheng gong an lichengtshi si cheng gong an licheng',
                        'href': 'www.baidu.com',
                        'img': '../common/img/successcase/5.jpg',
                        'index': 4,
                        'title': '\u6848\u4f8b5'
                    }
                ]
            },
            'news/detail/get.ajax': function () {
                var _ret = {
                        'errorCode': 0,
                        'errorDesc': null,
                        'complement': null
                    };
                var _data = [];
                var n = 10;
                for (var i = 0; i < n; i++) {
                    _data[i] = {
                        time: '2013/05/12',
                        title: '\u6807\u9898' + i,
                        detail: '<p>\u662f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u5b9e\u5f97\u5206\u80dc\u591a\u8d1f\u5c11\u5730\u65b9\u80dc\u591a\u8d1f\u5c11\u5730\u65b9</p>' + '<p>\u662f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u5b9e\u5f97\u5206\u80dc\u591a\u8d1f\u5c11\u5730\u65b9\u80dc\u591a\u8d1f\u5c11\u5730\u65b9</p>' + '<p style="color:red">\u662f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u751f\u7684\u53d1\u5b9e\u5f97\u5206\u80dc\u591a\u8d1f\u5c11\u5730\u65b9\u80dc\u591a\u8d1f\u5c11\u5730\u65b9</p>'
                    };
                }
                _ret.data = _data;
                return _ret;
            }(),
            'role/quota/get.ajax': function () {
                var _ret = {
                        'errorCode': 0,
                        'errorDesc': null,
                        'complement': null
                    };
                var _data = [];
                var n = 4;
                for (var i = 0; i < n; i++) {
                    _data[i] = {
                        productId: i,
                        name: '\u4ea7\u54c1\u7ebf\u540d\u5b57' + i,
                        status: i % 3,
                        uquota: 5000 * i,
                        quota: 20000
                    };
                }
                _ret.data = _data;
                return _ret;
            }(),
            'role/open/mod.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null
            },
            'role/token/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                data: 'lang.\u83b7\u53d6\u7684token'
            },
            'role/token/mod.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                data: 'lang.sdfsdfasdfasdfasfsdfadsfadsf'
            },
            'role/subscribe/mod.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null
            },
            'login/userinfo/get.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                data: {
                    username: 'neil',
                    admin: false
                }
            },
            'login/login.ajax': {
                'errorCode': 0,
                'errorDesc': null,
                'complement': null,
                data: { status: 0 }
            }
        };
    return {
        sendRequest: function (url, data, callback) {
            var realCallback = function (data) {
                if (data.errorCode == 0) {
                    callback(data.data);
                } else {
                    alert('\u7cfb\u7edf\u5f02\u5e38');
                }
            };
            var location = url.split('?')[0];
            var returnData = debugData[location];
            realCallback(returnData);
        },
        detailConfig: '\u8be6\u7ec6'
    };
});